package com.dyh.quickdemo.derProzess;

public interface OrderedProcess extends Process,Comparable<OrderedProcess> {
    int order();

    @Override
    default int compareTo(OrderedProcess o) {
        return Integer.compare(this.order(),o.order());
    }
}
